﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QuanLyThuNgan
{
    public class NguoiDungCTL
    {
        NguoiDungDAO data = new NguoiDungDAO();
      
        public DataTable SelectALL()
        {
            return data.selectAll();
        }
        public DataTable SelectALL_NoActive()
        {
            return data.SelectAll_kohoatdong();
        }
        //public DataTable SelectIDNguoiDung(int IDNguoiDung)
        //{
        //    return data.selectIDNguoiDung(IDNguoiDung);
        //}
        public DataTable Select_NhanVien()
        {
            return data.selectMaNhanVien_NguoiDung();
        }
        public DataTable TrangThaiCaThuNgan_Nhap_XacNhan(int idnguoidung)
        {
            return data.TrangThaiCaThuNgan_Nhap_XacNhan(idnguoidung);
        }
        //public DataTable Select_NotIn_NhomND(int IDNguoiDung)
        //{
        //    return data.selectIDNguoiDung_notin_NhomNguoiDung(IDNguoiDung);
        //}
        public object IDNguoiDung_TuMaNhanVien(string MaNV)
        {
            return data.selectIDNguoiDung_MaNV(MaNV);
        }
    }
    }

